<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        .progress {
            width: 300px;
            height: 15px;
            background-color: #d5d5d5;
            border-radius: 15px;
            margin: 30px auto 0;
            opacity: 0;
            transition: 300ms;
        }

        .line {
            width: 0;
            height: 15px;
            border-radius: 15px;
            background: greenyellow;
            font-size: 12px;
            text-align: center;
            color: white;
        }


        .box {
            width: 400px;
            height: 300px;
            background: #f1f1f1;
            margin: 15px auto;
            text-align: center;
        }

        .box h1 {
            text-transform: uppercase;
        }

        .box:hover .progress {
            opacity: 1;
        }

        .box:hover .html {
            animation: htmlAnimate 800ms linear forwards;
        }

        .box:hover .javascript {
            animation: javascriptAnimate 800ms linear forwards;
        }

        .box:hover .php {
            animation: phpAnimate 800ms linear forwards;
        }


        @keyframes htmlAnimate {
            to {
                width: 80%;
            }
        }

        @keyframes javascriptAnimate {
            to {
                width: 50%;
            }
        }

        @keyframes phpAnimate {
            to {
                width: 35%;
            }
        }
    </style>
</head>

<body>
    <div class="box">
        <h1>Skill</h1>
        <div class="progress">
            <div class="line html">HTML</div>
        </div>
        <div class="progress">
            <div class="line javascript">JAVASCRIPT</div>
        </div>
        <div class="progress">
            <div class="line php">PHP</div>
        </div>
    </div>
</body>

</html>